﻿@{
    <div class="bookrank clearfix" id="sbook4">
        <div class="t-top tsph">
            <div class="menu2">
                <ul class="ks-switchable-nav">
                    <li hidefocus="true"><em>销售排行</em><s></s>|</li>
                    <li hidefocus="true"><em>最多关注</em><s></s>|</li>
                    <li hidefocus="true"><em>热门收藏</em><s></s></li>
                </ul>
            </div>
        </div>
        <div class="j_bookUL ks-switchable-content">
            <ul>
                <li>
                    @{
                        DataTable dt = V5.Book.Query_By("*", "", "", 15);
                        <div class="paihang clearfix">
                            <div class="paihang_content">
                                <div class="detail clearfix">
                                    @{
                                        var loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="pic">
                                            <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">
                                                <img alt="@dr["BookName"]" src="@dr["Weizhi"]" title="@dr["BookName"]" width="83" height="120" /></a>
                                        </div>
                                        <div class="description_wrapper">
                                            <div class="description_content">
                                                <div class="description">
                                                    <p class="bookname">
                                                        <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">@dr["BookName"]</a></p>
                                                    <p>
                                                        作&nbsp;&nbsp;者：@dr["Author"]</p>
                                                    <p class="price">
                                                        <span class="new-price">13.10</span><span class="discount">66折</span></p>
                                                    <p class="tip">@dr["Note"]</p>
                                                </div>
                                            </div>
                                        </div>
                                            if (loopNum == 1) {
                                                break;
                                            }
                                        }
                                    }
                                </div>
                                <ol class="list_v clearfix">
                                    @{
                                        loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                            if (loopNum == 1) {
                                                continue;
                                            }
                                        <li class="clearfix">
                                            <div class="num num@(loopNum)">
                                            </div>
                                            <div class="listitem">
                                                <div class="pic">
                                                    <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                        <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="90" height="90" /></a></div>
                                                <p class="bookname">
                                                    <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                <p class="price">
                                                    <span class="new-price">8.50</span><span class="discount">34折</span></p>
                                            </div>
                                        </li>
                                            if (loopNum > 9) {
                                                break;
                                            }
                                        }
                                    }
                                </ol>
                            </div>
                            <ol class="list_h">
                                @{
                                    loopNum = 0;
                                    foreach (DataRow dr in dt.Rows) {
                                        loopNum++;
                                        if (loopNum < 10) {
                                            continue;
                                        }
                                    <li class="clearfix">
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="listitem clearfix">
                                            <div class="pic">
                                                <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                    <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="60" height="60" /></a></div>
                                            <div class="description_wrapper">
                                                <div class="description_content">
                                                    <div class="description">
                                                        <p class="bookname">
                                                            <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                        <p class="price">
                                                            <span class="price_d">¥<em>12.80</em></span><span class="discount">40折</span></p>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    }
                                }
                            </ol>
                        </div>
                    }
                </li>
            </ul>
            <ul style="display: none">
                <li>
                    @{
                        dt = V5.Book.Query_By("*", "", "", 15);
                        <div class="paihang clearfix">
                            <div class="paihang_content">
                                <div class="detail clearfix">
                                    @{
                                        loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="pic">
                                            <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">
                                                <img alt="@dr["BookName"]" src="@dr["Weizhi"]" title="@dr["BookName"]" width="83" height="120" /></a>
                                        </div>
                                        <div class="description_wrapper">
                                            <div class="description_content">
                                                <div class="description">
                                                    <p class="bookname">
                                                        <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">@dr["BookName"]</a></p>
                                                    <p>
                                                        作&nbsp;&nbsp;者：@dr["Author"]</p>
                                                    <p class="price">
                                                        <span class="new-price">13.10</span><span class="discount">66折</span></p>
                                                    <p class="tip">@dr["Note"]</p>
                                                </div>
                                            </div>
                                        </div>
                                            if (loopNum == 1) {
                                                break;
                                            }
                                        }
                                    }
                                </div>
                                <ol class="list_v clearfix">
                                    @{
                                        loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                            if (loopNum == 1) {
                                                continue;
                                            }
                                        <li class="clearfix">
                                            <div class="num num@(loopNum)">
                                            </div>
                                            <div class="listitem">
                                                <div class="pic">
                                                    <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                        <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="90" height="90" /></a></div>
                                                <p class="bookname">
                                                    <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                <p class="price">
                                                    <span class="new-price">8.50</span><span class="discount">34折</span></p>
                                            </div>
                                        </li>
                                            if (loopNum > 9) {
                                                break;
                                            }
                                        }
                                    }
                                </ol>
                            </div>
                            <ol class="list_h">
                                @{
                                    loopNum = 0;
                                    foreach (DataRow dr in dt.Rows) {
                                        loopNum++;
                                        if (loopNum < 10) {
                                            continue;
                                        }
                                    <li class="clearfix">
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="listitem clearfix">
                                            <div class="pic">
                                                <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                    <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="60" height="60" /></a></div>
                                            <div class="description_wrapper">
                                                <div class="description_content">
                                                    <div class="description">
                                                        <p class="bookname">
                                                            <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                        <p class="price">
                                                            <span class="price_d">¥<em>12.80</em></span><span class="discount">40折</span></p>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    }
                                }
                            </ol>
                        </div>
                    }
                </li>
            </ul>
            <ul style="display: none">
                <li>
                    @{
                        dt = V5.Book.Query_By("*", "", "", 15);
                        <div class="paihang clearfix">
                            <div class="paihang_content">
                                <div class="detail clearfix">
                                    @{
                                        loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="pic">
                                            <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">
                                                <img alt="@dr["BookName"]" src="@dr["Weizhi"]" title="@dr["BookName"]" width="83" height="120" /></a>
                                        </div>
                                        <div class="description_wrapper">
                                            <div class="description_content">
                                                <div class="description">
                                                    <p class="bookname">
                                                        <a target="_blank" href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]">@dr["BookName"]</a></p>
                                                    <p>
                                                        作&nbsp;&nbsp;者：@dr["Author"]</p>
                                                    <p class="price">
                                                        <span class="new-price">13.10</span><span class="discount">66折</span></p>
                                                    <p class="tip">@dr["Note"]</p>
                                                </div>
                                            </div>
                                        </div>
                                            if (loopNum == 1) {
                                                break;
                                            }
                                        }
                                    }
                                </div>
                                <ol class="list_v clearfix">
                                    @{
                                        loopNum = 0;
                                        foreach (DataRow dr in dt.Rows) {
                                            loopNum++;
                                            if (loopNum == 1) {
                                                continue;
                                            }
                                        <li class="clearfix">
                                            <div class="num num@(loopNum)">
                                            </div>
                                            <div class="listitem">
                                                <div class="pic">
                                                    <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                        <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="90" height="90" /></a></div>
                                                <p class="bookname">
                                                    <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                <p class="price">
                                                    <span class="new-price">8.50</span><span class="discount">34折</span></p>
                                            </div>
                                        </li>
                                            if (loopNum > 9) {
                                                break;
                                            }
                                        }
                                    }
                                </ol>
                            </div>
                            <ol class="list_h">
                                @{
                                    loopNum = 0;
                                    foreach (DataRow dr in dt.Rows) {
                                        loopNum++;
                                        if (loopNum < 10) {
                                            continue;
                                        }
                                    <li class="clearfix">
                                        <div class="num num@(loopNum)">
                                        </div>
                                        <div class="listitem clearfix">
                                            <div class="pic">
                                                <a href="@V5.Html.Out(dr["Url"])" target="_blank">
                                                    <img alt="@dr["BookName"]" src="@dr["WeiZhi"]" title="@dr["BookName"]" width="60" height="60" /></a></div>
                                            <div class="description_wrapper">
                                                <div class="description_content">
                                                    <div class="description">
                                                        <p class="bookname">
                                                            <a href="@V5.Html.Out(dr["Url"])" title="@dr["BookName"]" target="_blank">@dr["BookName"]</a></p>
                                                        <p class="price">
                                                            <span class="price_d">¥<em>12.80</em></span><span class="discount">40折</span></p>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                    }
                                }
                            </ol>
                        </div>
                    }
                </li>
            </ul>
        </div>
        <div class="clear">
        </div>
    </div>
}
